import { Injectable, Inject } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { Card } from '../domain/card.model';

@Injectable({
  providedIn: 'root'
})
export class CardService {

  constructor(private httpClient: HttpClient, @Inject('BASE_CONFIG') private config: any) { }

  getCard(): Observable<Card> {
    //return this.httpClient.get(`${this.config.jsonUrl}/${Math.ceil(Math.random(0,1)*3)}`,null);
return null;
  }
}
